using System.Xml.XPath;

namespace CriticalSystems.Instrumentation
{
    /// <summary>
    /// Interface for all trace writer factories.
    /// </summary>
    public interface ITraceWriterFactory
    {
        /// <summary>
        /// Creates the trace writer using the supplied XML settings.
        /// </summary>
        /// <param name="settings">The configuration settings.</param>
        /// <returns></returns>
        /// </remarks>
        ITraceWriter Create(IXPathNavigable settings);
    }
}